home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Bus / A-B / 4D ErrorString 2.0.5.sit / 4D ErrorString 2.0.5.ext.rsrc / 4DTE_15000 < prev    next >
Encoding:
Text File  |  1995-05-08  |  1.8 KB  |  43 lines

  1. 4D ErrorString 2.0.5
  2.  
  3. FreeWare.
  4.  
  5. Usage:
  6. errstr := RR ErrorString(error)
  7.  
  8. Where:
  9. errstr
  10. is a string (length 255) which returns a description of the error.
  11.  
  12. error
  13. is an integer which contains the error number you want the text about.
  14.  
  15. This external returns a string containing the description of the error based on the long integer parameter which contains the error number (from the Error 4D variable or from externals).
  16. If an error occured while looking for the error text or the error number is unknown the text 'Unknown error (err)' is returned (the 'err' is replaced by the error number).
  17.  
  18. All positive error numbers are internal for 4D and the description is obtained from a STR# resource with ID 29.
  19.  
  20. The zero and all negative error numbers are from the system software and are stored using a special scheme in STR# resources. The ERR# resource countains the list of STR# resource IDs and the range of error numbers of which they contain the text.
  21. This scheme was designed by and used with permission from Michael Hecht (Michael_Hecht@mac.sas.com). He entered most of the text and I added about 10 STR# resources (using the 'System Errors 7.0.1' application by Pete Corless).
  22.  
  23. History:
  24. 1.0 First release
  25. - with a small number of error strings in the code.
  26. 1.0.1 Bug fix.
  27. 2.0 Second release
  28. - with almost all error strings in resources and using the error text in the 4D application resource.
  29. 2.0.1 Data addition
  30. - Added more error strings from the Speech Manager.
  31. - Added (forgotten) function syntax.
  32. 2.0.2
  33. - Changed error parameter into integer, shouldn't be problem.
  34. 2.0.3
  35. - corrected some resources.
  36. 2.0.4
  37. - missed a STR# resource.
  38. 2.0.5 (8 May 1995)
  39. - resource with Speech Mgr text wasn't installed by 4D External Mover.
  40.  
  41. Written using THINK Pascal by:
  42. ©1993-1995 René G.A. Ros
  43. INTERNET: rgaros@bio.vu.nl